<template>
<div>
  <my-input :value="uname" @input="(val)=>{this.uname = val}"></my-input>
  <!-- <my-input v-model="uname"></my-input> -->
</div>
</template>

<script>
import MyInput from "@/components/MyInput.vue";
export default {
data () {
  return {
    uname:'lisi'
  }
},

components:{
  MyInput
}
}

</script>

<style>
</style>
